<?php

/**
 * This config array is optional. It can be used to specify global
 * configuration for an every new API method. Any of key/value pairs can be
 * uncommented.
 * <br/>
 * OAuth parameters for your application can be taken on the page
 * [http://annonsera.se/usr/apps/list.html]
 *
 * @var array Configuration array for every new API method.
 */
$config = array(
	"apiBaseUrl" => "http://www.annonsera.se/api",

	"oauthConsumerKey" => "dbaaf0f1f6c5ddf991c4f0baf9552eae04c051a89",
	"oauthConsumerSecret" => "7a2024168af6c025739bc98d4fc0b9cf",

	// Access token. This can be acces token for your personal account.
	"oauthToken" => "4fa4152c5993f99b08d511feb5021a4d04c3468ef",
	"oauthTokenSecret" => "c0d23ae2ac7826632010ab72c167e73a",

	// Valid values: "json", "xml", "rss".
	"format" => "json",
	"jsonpCallback" => "ggCallback",
	"useRequestParams" => true,

	// Settings of store for received OAuth tokens.
	"store" => array(
		
		// Valid values:
		// - null, "none" - no store used;
		// - "config" - use this $config as store;
		// - "session" - tokens stored in PHP session;
		// - "cookies" - tokens stored in HTTP cookies;
		"type" => "session",

		// Names of key under whose values are in store.
		// key - system name of key in this lib.
		// value - name of store key in your app, eg. key in PHP session.
		"keyNames" => array(
			"oauthToken" => "oauthToken",
			"oauthTokenSecret" => "oauthTokenSecret",
		),
	),
);

?>
